package com.yss.ams.demo.mapper;

import com.yss.ams.demo.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author shenyao
 * @date 2021/3/28
 * @description:
 */
@Mapper
public interface UserMapper {

    @Insert({"insert into user1(username, age) values(#{username}, #{age})"})
    int insert(User user);


}
